﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warehouse.Domian.Model
{
    [SugarTable("Breakage")]
    /// <summary>
    /// 破损信息表
    /// </summary>
    public class Breakage : BaseEntity
    {
        /// <summary>
        /// 破损单号
        /// </summary>
        public string BrId { get; set; }
        /// <summary>
        /// 破损类型编号
        /// </summary>
        public int STId { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string AssociatedOrderNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string PreparedName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PreparedTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Bacth { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 破损数量
        /// </summary>
        public int BreakageCiount { get; set; }
        /// <summary>
        /// 当前库位
        /// </summary>
        public int StorageId { get; set; }
        /// <summary>
        /// 出库Id
        /// </summary>
        public int DtId { get; set; }
        /// <summary>
        /// 移库Id
        /// </summary>
        public int SHid { get; set; }
    }
}
